home *** CD-ROM | disk | FTP | other *** search
- Path: druid.borland.com!usenet
- From: pete@borland.com (Pete Becker)
- Newsgroups: comp.lang.c++
- Subject: Re: HELP: Internal class structure table in Borland C++ 4.5
- Date: 25 Mar 1996 22:35:18 GMT
- Organization: Borland International
- Message-ID: <4j7736$om3@druid.borland.com>
- References: <Dou6Eu.ACB@uns.bris.ac.uk>
- NNTP-Posting-Host: pbecker.borland.com
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=ISO-8859-1
- X-Newsreader: WinVN 0.99.5
-
- In article <Dou6Eu.ACB@uns.bris.ac.uk>, andreas@ccr.bris.ac.uk says...
- >
- >
- >Does anyone know how to obtain the name string of a class instance
- >using the 'this' pointer ? Obviously, Borland C++ must keep a table
- >of all class variables, instance info, e.t.c. for each class created, but
- >what is the format of that table ?
- > Any help would be greatly appreciated.
-
- I don't know the details of doing that, but why not do it the way it was
- designed to be done? type_id(*this).name().
-
-